package com.ojoin.ojoin.eb_spider.model;

import java.util.Date;

public class Vecodes {
    private Integer id;

    private String mallcode;

    private String bigcode;

    private String goodname;

    private String goodcode;
    
    // 新增产品型号
    private String categorytype;

    private Date ct;

    private Date ut;

    private Date subtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMallcode() {
        return mallcode;
    }

    public void setMallcode(String mallcode) {
        this.mallcode = mallcode == null ? null : mallcode.trim();
    }

    public String getBigcode() {
        return bigcode;
    }

    public void setBigcode(String bigcode) {
        this.bigcode = bigcode == null ? null : bigcode.trim();
    }

    public String getGoodname() {
        return goodname;
    }

    public void setGoodname(String goodname) {
        this.goodname = goodname == null ? null : goodname.trim();
    }

    public String getGoodcode() {
        return goodcode;
    }

    public void setGoodcode(String goodcode) {
        this.goodcode = goodcode == null ? null : goodcode.trim();
    }

    public Date getCt() {
        return ct;
    }

    public void setCt(Date ct) {
        this.ct = ct;
    }

    public Date getUt() {
        return ut;
    }

    public void setUt(Date ut) {
        this.ut = ut;
    }

    public Date getSubtime() {
        return subtime;
    }

    public void setSubtime(Date subtime) {
        this.subtime = subtime;
    }

	public String getCategorytype() {
		return categorytype;
	}

	public void setCategorytype(String categorytype) {
		this.categorytype = categorytype;
	}

	
	@Override
	public boolean equals(Object obj) {
		if(null != obj){
			if(obj instanceof Vecodes){
				Vecodes ve = (Vecodes)obj;
				if(ve.getMallcode().equals(this.getMallcode())){
					return true ;
				}
			}
		}
		return false;
	}
	
	
	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return this.getMallcode().hashCode();
	}
    
}